<!DOCTYPE html>

<html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>Title</title>
        <style type="text/css">
            .wrapper {
                border: 1px solid blue ;
            }

            .test {
                display: inline-block ;
                border-left: 1px solid red ;
                border-right: 1px solid #ff887f;
                height: 12px ;
                width: 0 ;
            }
        </style>
    </head>
    <body>

        <div class="wrapper">
            <a href="">链接</a>
            <i class="test"></i>
            <a href="">链接</a>
            <i class="test"></i>
            <a href="">链接</a>
            <i class="test"></i>
            <a href="">链接</a>
        </div>
        
    </body>
</html>